package com.guanlixitong.service;

import com.guanlixitong.domain.Student;

import java.io.IOException;
import java.util.ArrayList;

/*
学生业务处理接口
 */
public interface IStudentService {

    //判断学号是否存在
    boolean isExists(String sid) throws Exception;

    //增
    void addstudent(Student student) throws IOException;

    //删
    void deletestudent(String sid) throws IOException;

    //改
    void updatestudent(String sid, Student student) throws IOException;

    //查
    ArrayList<Student> findAllstudent() throws IOException;


    //更新数据
    void tst() throws IOException;


    //导出
    void excel() throws Exception;

    //导入
    void importExcel(String s) throws Exception;

    //读日志
    void readRizhi()throws Exception;

    //统计数据
    void Tongji(String choice2);

    //退出
    void exit() throws IOException;
}
